Skip to content

Conversation

@mister-giga
Copy link
Contributor

@mister-giga mister-giga commented Apr 23, 2025

Fix indexer type in sample code

Summary

The return type of indexer is wrong in sample, which is a bit confusing

Fixes #Issue_Number (if available)


Internal previews

📄 File 🔗 Preview link
docs/csharp/whats-new/csharp-14.md What's new in C# 14

Fix indexer type in sample code
@mister-giga mister-giga requested review from a team and BillWagner as code owners April 23, 2025 18:10
@dotnetrepoman dotnetrepoman bot added this to the April 2025 milestone Apr 23, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-csharp/svc whats-new/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Apr 23, 2025
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this and fixing it @mister-giga

I'll :shipit: now.

@BillWagner BillWagner merged commit cebcdf8 into dotnet:main Apr 24, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc whats-new/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants